<ul class="path">
  <li><?php echo link_to('Home >>','/')?></li>
  <li><?php echo $title?> >></li>
</ul>

<?php include_partial('filter', array('pricerange'=>$pricerange,'bodystyle'=>$bodystyle,'params'=>$params))?>
<div id="list">
  <?php foreach($pager->getResults() as $vehicle):?>
    <?php include_partial('vehicle/rectangle_vehicle_display', array('vehicle'=>$vehicle))?>
  <?php endforeach;?>
</div>
<div id="list-ad">
  <img id="list-ad1" src="/images/995rate-side.gif" />
  <img id="list-ad2" src="/images/side-ad-rental.gif" />
</div>
<div id="info">
  <?php echo $pager->getNbResults() ?> results found.<br />
  Displaying results <?php echo $pager->getFirstIndice() ?> to  <?php echo $pager->getLastIndice() ?>.

</div>

<?php if ($pager->haveToPaginate()): ?>
<div id="pager">
    <a href="?page=<?php echo $pager->getFirstPage()?>">&laquo;</a>
    <a href="?page=<?php echo $pager->getPreviousPage()?>">&lt;</a>
    <?php $links = $pager->getLinks();
    foreach ($links as $page): ?>
      <?php if ($page == $pager->getPage()):
              echo $page;
              else: ?>
              <a href="<?php echo '?page='.$page?>"><?php echo $page?></a>
              <?php endif; ?>
      <?php if ($page != $pager->getCurrentMaxLink()): ?> - <?php endif ?>
    <?php endforeach ?>
    <a href="?page=<?php echo $pager->getNextPage()?>">&gt;</a>
    <a href="?page=<?php echo $pager->getLastPage()?>">&raquo;</a>

</div>
<?php endif ?>

